#define _CRT_SECURE_NO_WARNINGS

#include "pro.h"

void InitList(LinkList L)
{
	L = (LNode*)malloc(sizeof(LNode));
	L->next = NULL;
}

void CreatElem(LinkList L, char elem)
{
	LinkList s = (LNode*)malloc(sizeof(LNode));
	s->a = elem;
	L->next = s;
	s->next = L->next;
}